ComponentOne Bitmap for UWP
WritePixels<T>(Int32,Int32,T[]) Method

C1.UWP.DX Assembly > C1.Util.DX.WIC Namespace > BitmapFrameEncode Class > WritePixels Method : WritePixels<T>(Int32,Int32,T[]) Method

The number of lines to encode.

The stride of the image pixels.

A reference to the pixel buffer.

Encodes the frame scanlines.

Syntax
'Declaration
 
Public Overloads Sub WritePixels(Of T As {New, Struct})( _
   ByVal lineCount As System.Integer, _
   ByVal stride As System.Integer, _
   ByVal pixelBuffer() As T _
) 
public void WritePixels<T>( 
   System.int lineCount,
   System.int stride,
   T[] pixelBuffer
)
where T: new(), struct

Parameters

lineCount

The number of lines to encode.

stride

The stride of the image pixels.

pixelBuffer

A reference to the pixel buffer.

Type Parameters

T
Remarks

Successive WritePixels calls are assumed to be sequential scanline access in the output image.

See Also

Reference

BitmapFrameEncode Class
BitmapFrameEncode Members
Overload List